import request from '@/utils/request'


export function indemnifyList(data) {
  return request({
    url: '/indemnify/list',
    method: 'post',
    data
  })
}
export function addIndemnify(data) {
  return request({
    url: "/indemnify/add",
    method: "post",
    data
  });
}

export function changeStatus(id) {
  return request({
    url: "/indemnify/change",
    method: "post",
    params: { id } 
  });
}